
<html>
    <title>Class Generator</title>
<body>
<h1>Class Generator</h1>
<hr/>
<script type="text/javascript">
<!--
function doSelLang() {
    lang = document.getElementById('selLang').value;

    if (lang == "java")
        document.getElementById('divJava').style.display = "";
    else
        document.getElementById('divJava').style.display = "none";
}
-->
</script>
<form id="frmGenerator">
Programing in language: <select id="selLang" onchange="doSelLang();">
    <option value="perl">Perl</option>
    <option value="java">Java</option>
</select>
<p>
<div style="float:left">
Class name:<input id="txtClassName"/>
</div>
<div id="divJava" style="display: none">
Class type: <select id="selClassType">
    <option value="class">Normal Class</option>
    <option value="interface">Interface</option>
</select>
<input id="idJavaMain" type="checkbox">Main class
</div>
<div style="clear:both"></div>
<br/>Inherit from:<input id="txtSuperClass"/>
<br/>Attributes: <input id="txtAttributes"/>
Methods: <input id="txtAttributes"/>

<br/>
<input id="submit" value="Generate" type="submit">
<input id="reset" value="Clear" type="reset">

</form>
</body>
</html>

